﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

using SharedGamesClasses;

namespace GuiGames {

    /// <summary>
    /// Provides a GUI for the Two Up game in the SharedGamesClasses.
    /// </summary>
    public partial class TwoUpForm : Form {

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="form"></param>
        public TwoUpForm() {
            InitializeComponent();
            Trace.Listeners.Add(new ListBoxTraceListener(twoUpListBox));
            TwoUp.ResetGlobals();
        }


        /// <summary>
        /// Throws the two coins and shows the results on the screen.
        /// </summary>
        private void ShowResultsOfThrow() {
            // Code needed.
        }

        /// <summary>
        /// Sets the image in the PictureBox for the given coinNum
        /// to Images.Heads if the Heads parameter is True,
        /// or Images.Tails if the Heads parameter is False.
        /// </summary>
        private void SetPictureBox(int coinNum, bool Heads) {
            // Code needed.
        }
    } //end class TwoUpForm
} // end namespace
